package com.ktgj.flight.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktgj.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class FlightOrderChangeVO implements Serializable {
    public FlightOrderChangeVO() {
        this.orderChangeTickets = new ArrayList<>();
    }

    /** 机票退改签废订单ID */
    private String changeOrderId;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 票量
     */
    private Long guestNum;
    /**
     * 退票状态   0:初始 1：退票完成   2：取消
     */
    private String changeStatus;
    /**
     * 订单号
     */
    private String orderId;
    /**
     * 退改签子订单信息
     */
    private List<FlightOrderChangeTicketsVO> orderChangeTickets;

    /** 退/改 */
    @Excel(name = "退/改")
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getChangeOrderId() {
        return changeOrderId;
    }

    public void setChangeOrderId(String changeOrderId) {
        this.changeOrderId = changeOrderId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getChangeStatus() {
        return changeStatus;
    }

    public void setChangeStatus(String changeStatus) {
        this.changeStatus = changeStatus;
    }

    public Long getGuestNum() {
        return guestNum;
    }

    public void setGuestNum(Long guestNum) {
        this.guestNum = guestNum;
    }

    public List<FlightOrderChangeTicketsVO> getOrderChangeTickets() {
        return orderChangeTickets;
    }

    public void setOrderChangeTickets(List<FlightOrderChangeTicketsVO> orderChangeTickets) {
        this.orderChangeTickets = orderChangeTickets;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
}
